<template>
  <div class="footer-container">
    <div class="bg-l">
      <img src="@/assets/home/left_shape.png" alt="" />
    </div>

    <main>
      <div class="left-container">
        <ul>
          <li>
            <p class="link-title">COMPANY</p>
            <p @click="router.push('/account/contact_us')" class="link">
              <el-icon><ArrowRight /></el-icon>
              <span> Contact Us </span>
            </p>
            <p @click="router.push('/account/about_us')" class="link">
              <el-icon><ArrowRight /></el-icon>
              <span> About Us</span>
            </p>
          </li>
          <li>
            <p class="link-title">HELP & INFORMATION</p>
            <p @click="router.push('/account/privacy_policy')" class="link">
              <el-icon><ArrowRight /></el-icon>
              <span>Privacy Policy</span>
            </p>
            <p @click="router.push('/account/refund_policy')" class="link">
              <el-icon><ArrowRight /></el-icon>
              <span> Refund Policy</span>
            </p>
            <p @click="router.push('/account/pay')" class="link">
              <el-icon><ArrowRight /></el-icon>
              <span>Pay Now</span>
            </p>
          </li>
          <li>
            <p class="link-title">PERSONAL CENTER</p>
            <p @click="router.push('/account/order')" class="link">
              <el-icon><ArrowRight /></el-icon>
              <span>Order</span>
            </p>
          </li>
        </ul>
      </div>
      <div class="right-container">
        <div class="pay-box">
          <div class="title">PAYMENT METHODS</div>
          <div class="image">
            <img src="@/assets/pay/3.png" alt="" />
            <img src="@/assets/pay/2.png" alt="" />
            <img src="@/assets/pay/1.png" alt="" />
            <img src="@/assets/pay/4.png" alt="" />
          </div>
        </div>
        <p class="email">Email: services@bytetapper.com</p>
      </div>
    </main>
    <footer>
      <p>Bytetapper.com Copyright 2013-2025, Inc. All Rights Reserved</p>
    </footer>
    <div class="bg-r">
      <img src="@/assets/home/right_shape.png" alt="" />
    </div>
  </div>
</template>

<script setup>
import router from "@/router";
import { ArrowRight } from "@element-plus/icons-vue";
</script>

<style lang="scss" scoped>
.footer-container {
  padding-top: 80px;
  margin-top: 80px;
  background: #141922;
  position: relative;
  border-top: 1px solid #43474e;
  .bg-l,
  .bg-r {
    position: absolute;
    width: 400px;
    height: auto;
    height: 100%;
    top: 0;
  }
  .bg-l {
    left: -80px;
  }
  .bg-r {
    float: right;
    right: -200px;
  }
  main {
    z-index: 9;
    margin: 0 auto;
    width: 1400px;
    display: flex;
    justify-content: space-between;
    gap: 100px;
    .left-container {
      margin-right: 100px;
      ul {
        display: flex;
        gap: 100px;
        li {
          min-width: 120px;
          .link-title {
            padding-bottom: 20px;
            margin-bottom: 20px;
            position: relative;
            font-size: 14px;
            font-weight: 700;
            color: #b4b7b7;
            white-space: nowrap;
          }
          .link {
            display: flex;
            align-items: center;
            padding-bottom: 20px;
            font-size: 14px;
            color: #b4b7b7;
            cursor: pointer;
            &:hover {
              color: #ffa300;
            }
          }
        }
      }
    }
    .right-container {
      .pay-box {
        margin-bottom: 30px;
        .title {
          font-size: 14px;
          font-weight: 700;
          color: #b4b7b7;
          padding-bottom: 20px;
        }
        .image {
          display: flex;
          gap: 10px;
          img {
            padding: 4px;
            width: 50px;
            height: 26px;
            object-fit: contain;
            border-radius: 4px;
            background: #cecdcd;
          }
        }
      }
      .email {
        margin-bottom: 20px;
        font-size: 12px;
        text-align: left;
        color: #989898;
      }
      .tel {
        font-size: 12px;
        text-align: right;
        color: #989898;
      }
    }
  }
  footer {
    z-index: 9;
    p {
      padding: 60px 0 40px;
      color: #7e7e7e;
      font-size: 12px;
      text-align: center;
    }
  }
}
</style>
